<style>
.current{
	background:repeat-x #FFFFFF bottom;
	text-decoration: underline;
}
</style>
<div class="frame_pmDiv">
    <div class="pmItemDiv">
        <? if($this->pageArray['pageNumber']>0):?>
        <form name="scenceForm" id="scenceForm" action="administrator<?=CHOSING_DE?>question<?=CHOSING_DE?>delsubject" method="post">
        <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CEE7FF" style="border-collapse:collapse">
            <tr>
                    <td width="20%" height="30" class="bbgg">
                            <strong>题目</strong>                    </td>
              <td width="12%" class="bbgg">结果&nbsp;</td>
              <td width="12%" class="bbgg"><strong>截止日期</strong></td>
                    <td width="12%" class="bbgg">
                            <strong>日期</strong>                    </td>
                    <td width="10%" class="bbgg">
                            <strong>状 态</strong>                    </td>
                    <td width="16%" class="bbgg">
                            <strong>下注积分</strong>                    </td>
                    <td width="16%" class="bbgg"><strong>竞猜</strong></td>
            </tr>
            <? for($i=0;$i<count($this->itemArray);$i++):?>
			  <?if($this->itemArray[$i]['uid'] == $_COOKIE[COOKIE_PRE.'uid']):?>
            <tr bgcolor="#FFFFFF">
                    <td height="30" align="center" valign="middle">
                            <?=$this->itemArray[$i]['title']?>                    </td>
              <td align="center">&nbsp;<?=$this->itemArray[$i]['tanswers']?></td>
              <td align="center">&nbsp;<?=date('Y-m-d H:i:s',$this->itemArray[$i]['end_time'])?></td>
                    <td align="center">
                            <?=date('Y-m-d',$this->itemArray[$i]['update_time'])?>                    </td>
                    <td align="center">
                            <?if($this->itemArray[$i]['isend'] == 0):?>
                                进行中
                            <?else:?>
                                结束
                            <?endif;?>                    </td>
                    <td align="center"><?=$this->itemArray[$i]['chips']?>
                     
					 </td>
                    <td align="center"><?=$this->itemArray[$i]['answers']?>&nbsp;</td>
            </tr>
			 <?endif;?> 
            <? endfor;?>
        </table>
        <br />
        <div style="margin:10px">共 <?=$this->pageArray['pageNumber']?> 页　<?=$this->pageString?></div>
        <div></div>
        </form>
    <?else:?>
    <?endif;?>
    </div>
</div>